package com.threadlocaldemo.service.impl;

import com.threadlocaldemo.service.UserService;
import com.threadlocaldemo.util.Requestutil;

import javax.servlet.http.HttpServletRequest;

public class UserServiceImpl implements UserService {
    @Override
    public boolean login(String userName, String password,String rem) {

        return false;
    }

    @Override
    public boolean login(HttpServletRequest request) {
        String userName = request.getParameter("userName");

        return false;
    }

    @Override
    public boolean login() {
        String userName = Requestutil.getRequest().getParameter("userName");
        System.out.println(userName);
        return false;
    }
}
